import {
	req
} from '../../utils/req.js';
export default {
	// 个人中心页面
	index(param) {
		return req.get("farm/app/IndexUser/index", param)
	},
	// 获取默认地址
	getDefultAddress(param) {
		return req.get("farm/app/IndexUser/getDefultAddress", param)
	},
	// 地址列表
	addressList(param) {
		return req.get("farm/app/IndexUser/addressList", param)
	},
	// 地址详情
	addressInfo(param) {
		return req.get("farm/app/IndexUser/addressInfo", param)
	},
	// 新增地址
	addressAdd(param) {
		return req.post("farm/app/IndexUser/addressAdd", param)
	},
	// 修改地址
	addressUpdate(param) {
		return req.post("farm/app/IndexUser/addressUpdate", param)
	},
	// 删除地址
	addressDel(param) {
		return req.post("farm/app/IndexUser/addressDel", param)
	},
	//卡券列表
	userCouponList(param) {
		return req.get("farm/app/IndexUser/userCouponList", param)
	},
	//删除卡券
	couponDel(param) {
		return req.post("farm/app/IndexUser/couponDel", param)
	},
	//储值充值卡列表
	cardList(param) {
		return req.get("farm/app/IndexBalance/cardList", param)
	},
	//充值余额(card_id)
	payBalanceOrder(param) {
		return req.post("farm/app/IndexBalance/payBalanceOrder", param)
	},
	//充值订单列表(时间筛选 start_time,end_time)
	balaceOrder(param) {
		return req.get("farm/app/IndexBalance/balaceOrder", param)
	},
	//交易记录(add:支出0，收入1；时间筛选 start_time,end_time)
	userConsumeWater(param) {
		return req.get("farm/app/IndexUser/userConsumeWater", param)
	},
	// 待评价列表
	noEvaluateOrderList(param) {
		return req.get("farm/app/Index/noEvaluateOrderList", param)
	},
	// 评价列表
	userEvaluateList(param) {
		return req.get("farm/app/Index/userEvaluateList", param)
	},
	// 根据type获取对应物品的评价
	goodsEvaluateList(param) {
		return req.get("farm/app/Index/goodsEvaluateList", param)
	},
	// 评价详情
	evaluateInfo(param) {
		return req.get("farm/app/Index/evaluateInfo", param)
	},
	// 新增评价
	evaluateAdd(param) {
		return req.post("farm/app/Index/evaluateAdd", param)
	},
	// 编辑评价
	evaluateUpdate(param) {
		return req.post("farm/app/Index/evaluateUpdate", param)
	},
	// 申请分销商
	applyReseller(param) {
		return req.post("farm/app/IndexUser/applyReseller", param)
	},
	// 获取推广码
	getAppDownloadQr(param) {
		return req.get("farm/app/IndexUser/getAppDownloadQr", param)
	},
	// 分销中心
	resellerInfo(param) {
		return req.get("farm/app/IndexReseller/resellerInfo", param)
	},
	// 分销订单列表
	fxOrderList(param) {
		return req.get("farm/app/IndexReseller/orderList", param)
	},
	// 我的团队
	myTeam(param) {
		return req.get("farm/app/IndexReseller/myTeam", param)
	},
	// 分销申请提现
	applyWallet(param) {
		return req.post("farm/app/IndexReseller/applyWallet", param)
	},
	// 分销提现记录
	walletList(param) {
		return req.get("farm/app/IndexReseller/walletList", param)
	},
	// 系统通知
	systemInfoList(param) {
		return req.get("farm/app/IndexInfo/systemInfoList", param)
	},
	// 运营公告
	operateInfoList(param) {
		return req.get("farm/app/IndexInfo/operateInfoList", param)
	},
	// 运营公告详情
	operateInfoInfo(param) {
		return req.get("farm/app/IndexInfo/operateInfoInfo", param)
	},
}
